<template>
  <div class="content">
    <el-tabs class="el-tabs" v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="COOL" name="second">
        <FileList></FileList>
      </el-tab-pane>
      <el-tab-pane label="指南"></el-tab-pane>
      <el-tab-pane label="Admin"></el-tab-pane>
      <el-tab-pane label="Uni"></el-tab-pane>
      <el-tab-pane label="Ai"></el-tab-pane>
      <el-tab-pane label="lot"></el-tab-pane>
      <el-tab-pane label="Game"></el-tab-pane>
      <el-tab-pane label="外包"></el-tab-pane>
      <el-tab-pane label="项目"></el-tab-pane>
      <el-tab-pane label="服务器5元/年起"></el-tab-pane>
    </el-tabs>
    <div class="icon_">
      <span class="el-icon-sunny"></span>
      <p>
        <span class="el-icon-search"></span>
        <input type="text" placeholder="Search" />
        <img src="@/assets/img/butt.png" alt="" />
      </p>
    </div>
  </div>
</template>
<script>
// 01 导入组件
import FileList from "@/components/File/FileList.vue";
export default {
  // 02  注 册 组 件
  components: {
    FileList, //首页
  },
  data() {
    return {
      activeName: "second",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style>
/* .el-tabs__header  {
  position: fixed;
  z-index: 999;
  background-color: #fff;
} */
</style>

<style scoped lang="scss">
.content {
  position: relative;
  width: 100%;
  background-color: #fff;
  .icon_ {
    height: 60px;
    position: absolute;
    top: 0px;
    left: 710px;
    display: flex;
    align-items: center;
    span {
      font-size: 22px;
    }
    p {
      margin-left: 20px;
      position: relative;
      input {
        width: 155px;
        height: 36px;
        border-radius: 18px;
        border: none;
        padding-left: 35px;
        background-color: #eeeeee;
        font-size: 18px;
      }
      .el-icon-search {
        font-size: 20px;
        font-weight: 900;
        position: absolute;
        top: 8px;
        left: 10px;
      }
      img {
        position: absolute;
        top: 5px;
        right: 8px;
        width: 50px;
      }
    }
  }
}
</style>
<style>
.el-main {
  padding-top: 0;
}
.el-tabs__header {
  height: 60px;
  line-height: 60px;
}
#tab-second {
  margin-left: 20px;
  color: #54a2f3;
  font-weight: 1000;
  padding-left: 50px;
  font-size: 18px;
  background: url("@/assets/img/logo-admin-new.png");
  background-size: 40px;
  background-repeat: no-repeat;
}
.is-top {
  padding: 0 14px;
}
.is-top:nth-of-type(1) {
  padding-left: 0;
}
</style>
